package com.elec.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.elec.domain.R;
import com.elec.domain.entity.ElectricityBill;
import com.elec.domain.entity.PaymentRecord;

/**
 * 记录用户电费账单详情(ElectricityBill)表服务接口
 *
 * @author yu
 * @since 2024-07-05 13:42:59
 */
public interface ElectricityBillService extends IService<ElectricityBill> {

    R add(ElectricityBill electricityBill);

    R delete(Long id);

    R get(Long id);

    R getList(Integer pageNum, Integer pageSize, ElectricityBill electricityBill);

    R update(ElectricityBill electricityBill);

    R getElectricityConsumption();

    R getMyBill(Integer pageNum, Integer pageSize, ElectricityBill electricityBill);

    R pay(PaymentRecord paymentRecord);
}


